<template>
    <div class="account">
        <van-nav-bar title="跟踪" left-arrow @click-left="onClickLeft" />
        <van-steps direction="vertical" :active="0">
            <van-step>
                <h3>报案</h3>
                <p>2016-07-12 12:40</p>
            </van-step>
            <van-step>
                <h3>立案</h3>
                <p>2016-07-11 10:00</p>
            </van-step>
            <van-step>
                <h3>勘察/定损</h3>
                <p>2016-07-10 09:30</p>
            </van-step>
            <van-step>
                <h3>核赔</h3>
                <p>2016-07-10 09:30</p>
            </van-step>
            <van-step>
                <h3>付款</h3>
                <p>2016-07-10 09:30</p>
            </van-step>
            <van-step>
                <h3>已结案</h3>
                <p>2016-07-10 09:30</p>
            </van-step>
        </van-steps>
    </div>
</div></template>
  
<script>
export default {
    name: 'home',
    data() {
        return {
            show: false,
            index: 0,
            images: ['https://img.yzcdn.cn/vant/cat.jpeg']
        };
    },
    methods: {
        onClickLeft() {
            this.$router.push('/settlementOfClaim')
        },
        onChange(index) {
            this.index = index;
        },
        imgClick() {
            this.show = true
        },
        toEditAccount() {
            this.$router.push('/editAccount')
        }
    }
}
</script>
<style scoped>
.account {
    background-color: #f5f5f5;
    height: 100%;
    width: 100%;
    font-size: 1rem;
}

.tel {
    line-height: 100%;
    text-align: center;
    margin-top: 50%;
}

.account-label {
    float: left;
}

.account-value {
    float: right;
}

.account-title {
    background-color: #fff;
    padding: 0.5rem 0.45rem;
    border-bottom: 1px #dddddd solid;
}

.account-title-icon {
    margin-right: 0.2rem;
}

.account-info {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem
}

.van-cell:not(:last-child)::after {
    border: none
}

.van-cell {
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}
</style>
